package com.lcxw.hxzb.friendcircle.project.system.mapper;

import com.lcxw.hxzb.friendcircle.project.system.domain.YwpdBargaining;

import java.util.List;

/**
 * 会员砍价Mapper接口
 * 
 * @author meeting
 * @date 2020-10-14
 */
public interface YwpdBargainingMapper 
{
    /**
     * 查询会员砍价
     * 
     * @param bargainingId 会员砍价ID
     * @return 会员砍价
     */
    public YwpdBargaining selectYwpdBargainingById(Long bargainingId);

    /**
     * 查询会员砍价列表
     * 
     * @param ywpdBargaining 会员砍价
     * @return 会员砍价集合
     */
    public List<YwpdBargaining> selectYwpdBargainingList(YwpdBargaining ywpdBargaining);

    /**
     * 新增会员砍价
     * 
     * @param ywpdBargaining 会员砍价
     * @return 结果
     */
    public int insertYwpdBargaining(YwpdBargaining ywpdBargaining);

    /**
     * 修改会员砍价
     * 
     * @param ywpdBargaining 会员砍价
     * @return 结果
     */
    public int updateYwpdBargaining(YwpdBargaining ywpdBargaining);

    /**
     * 删除会员砍价
     * 
     * @param bargainingId 会员砍价ID
     * @return 结果
     */
    public int deleteYwpdBargainingById(Long bargainingId);

    /**
     * 批量删除会员砍价
     * 
     * @param bargainingIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteYwpdBargainingByIds(Long[] bargainingIds);
}
